<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://www.ufida.com/lfw" prefix="lfw" %>
<%@ taglib uri="http://www.ufida.com/uif" prefix="uif" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>

<html>
	<head>
		<lfw:base/>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Cache-Control" content="no-cache"/>
		<meta http-equiv="Expires" content="0"/>
		<uif:import globalPath="/lfw/frame"/>
		<script type='text/javascript' src='/lfw/frame/script/reference/reftree.js'></script>
		<link rel='STYLESHEET' type='text/css' href="/lfw/frame/themes/ncclassic/styles/reference/button.css">
	</head> 
	<body bottommargin="0" topmargin="0" leftmargin="0" rightmargin="0" scroll=no onload="pageBodyScript()" style="background-color:transparent">
		<lfw:pageModel className="nc.lfw.framework.login.LfwLoginCorpRefPageModel">
			<div>
				<lfw:layout type="border">
					<lfw:layoutPanel position="top" height="30">
						<lfw:layout type="flowh">
							<lfw:layoutPanel>
								<%@include file="/html/nodes/reference/header.jsp" %>
							</lfw:layoutPanel>
							
							<c:if test="${showModeBtn eq true}">
								<lfw:layoutPanel width="50" align="right">
								 	<lfw:button id="changeViewModeBtn"/>
								</lfw:layoutPanel>
							</c:if>
						</lfw:layout>
					</lfw:layoutPanel>
					
					<lfw:layoutPanel position="center">
						<lfw:layout type="card" cardId="refTreeCard" border="0">
							<lfw:layoutPanel cardId="card1">
								<lfw:tree id="reftree" />
							</lfw:layoutPanel>
							<lfw:layoutPanel cardId="card2">
								<c:if test="${showModeBtn eq true}">
									<lfw:grid id="refgrid"></lfw:grid>
								</c:if>
							</lfw:layoutPanel>
						</lfw:layout>
					</lfw:layoutPanel>
					
					<lfw:layoutPanel position="bottom" height="34">
						<lfw:layout type="flowh">
							<lfw:layoutPanel width="100%">
							</lfw:layoutPanel>
							<lfw:layoutPanel>
								<lfw:button id="okbt"/>
							</lfw:layoutPanel>
							<lfw:layoutPanel>
							&nbsp;&nbsp;&nbsp;&nbsp;
							</lfw:layoutPanel>
							<lfw:layoutPanel>
								<lfw:button id="cancelbt"/>
							</lfw:layoutPanel>
							<lfw:layoutPanel>
							&nbsp;&nbsp;&nbsp;&nbsp;
							</lfw:layoutPanel>
						</lfw:layout>
					</lfw:layoutPanel>
				</lfw:layout>
			</div>	
		</lfw:pageModel>
	</body>
</html>